package com.zhou.bjgl.bjgl.business_web.mapper;

import com.zhou.bjgl.bjgl.business_web.entity.BTeacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhou.bjgl.bjgl.req.b_teacher.BTeacherQueryReq;
import com.zhou.bjgl.bjgl.resp.teacher.BTeacherResp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jz
 * @since 2021-07-04
 */
@Mapper
public interface BTeacherMapper extends BaseMapper<BTeacher> {

    /**
     * 获取教师列表用于显示，不包含密码
     *
     * @param req
     * @return List<BTeacherResp>教师列表
     */
    List<BTeacherResp> queryTea(BTeacherQueryReq req);

    /**
     * 获取教师列表用于显示，包含密码
     *
     * @param req
     * @return List<BTeacherResp>教师列表
     */
    BTeacherResp queryTeaInfo(BTeacherQueryReq req);
}
